<script src="http://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="coolcarousel/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"></script>

    <div id="close">FECHAR <span>X</span></div>
        <div id="jFlowSlide" style="position: relative; width: 930px; height: 200px; overflow: hidden;">
            <div id="banners" style="position: relative; width: <?php echo $t = ($sql_banners_rows*930)."px";?>; height: 200px; overflow: hidden; margin-left: 0px;">
            <?php 
				$count = 1;
				while(list($id_banner,$arquivo_banner,$link_banner)=mysql_fetch_array($sql_banners)){ 
			?>
				<div class="jFlowSlideContainer" style="position: relative; width: 930px; height: 200px; float: left;">
                    <div>
                    <img src="banners/<?php echo $arquivo_banner;?>"/>
                    </div>
                </div>
			<?php $count++;}?>
            </div>
        </div>
        <div id="banners-controller">
        <span style="display:none;" id="total"><?php echo $count;?></span>
		<?php
			for($i=1;$i<$count;$i++){
				if($i == 1){
		 ?>
        <span id="jflow<?php echo $i; ?>" class="jFlowControl jFlowSelected"><?php echo $i; ?></span>
        <?php }else{ ?>
        <span id="jflow<?php echo $i; ?>" class="jFlowControl"><?php echo $i; ?></span>
		<?php }
		}?>
        </div>

